package com.bw.service;

import com.bw.dao.sugarDao;
import com.bw.doman.sugarDTO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class sugarServiceImpl implements sugarService {
    @Autowired
    sugarDao sugarDao;
    @Override

    public List<sugarDTO> getList() {
        return sugarDao.getList();
    }

    @Override
    public List<sugarDTO> getList2() {
        return sugarDao.getList2();
    }

    @Override
    public List<sugarDTO> getList3() {
        return sugarDao.getList3();
    }

    @Override
    public double getList4() {
        return sugarDao.getList4();
    }

    @Override
    public List<sugarDTO> getList5() {
        return sugarDao.getList5();
    }


}
